import Vue from 'vue'
import App from './App'
import httpInterceptor from '@/common/http.interceptor.js'
import api from '@/common/api.js'
import store from '@/store';
import './router' // 引入路由
Vue.config.productionTip = false

App.mpType = 'app'

// 引入全局uView
import uView from 'uview-ui'
Vue.use(uView);

//使用uview封装的store
let vuexStore = require("@/store/$u.mixin.js");
Vue.mixin(vuexStore);
const app = new Vue({
	store,
	...App
})

Vue.use(httpInterceptor, app)

Vue.use(api, app)

import utils from '@/common/utils.js'
Vue.use(utils, app);

app.$mount()
